@charset "utf-8";

/* header */
.header {
    width: 100%;
    height: 45px;
    background-color: #222;
    display: flex;
}

.header a, .layui-nav .layui-nav-item a {
    color: #fff;
}

.header .logo a {
    display: block;
    width: 148px;
    font-size: 18px;
    padding: 0 20px;
    line-height: 45px;
    background-color: rgba(0, 0, 0, 0);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.header .action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
}

.header .action .left-open {
    height: 45px;
}

.header .action .left-open i {
    display: block;
    background: rgba(255, 255, 255, 0.1);
    width: 32px;
    height: 32px;
    line-height: 32px;
    border-radius: 3px;
    text-align: center;
    margin-top: 7px;
    cursor: pointer;
}

.header .action .left-open i:hover {
    background: rgba(255, 255, 255, 0.3);
}

.header .action > .top-menu {
    flex: 1;
}

.header .action .right-box {
    display: flex;
    align-items: center;
    justify-content: right;
}


.header .left {
    background-color: rgba(0, 0, 0, 0);
}

.layui-nav .layui-nav-item a {
    cursor: pointer;
}

.layui-nav .layui-nav-child a {
    color: #333;
    cursor: pointer;
}

/* top-menu start */
.header .top-menu {
    padding: 0 20px;
    display: flex;
    position: relative;
    z-index: 999;
    white-space: nowrap;
}

.header .top-menu .layui-icon,
.header .top-menu .yunj-icon {
    font-size: 12px;
}

.header .top-menu .top-menu-item {
    display: flex;
    position: relative;
}

.header .top-menu > .top-menu-item {
    flex-direction: column;
}

.header .top-menu > .top-menu-item:last-child {
    margin: 0;
}

.header .top-menu.align-right > .top-menu-item:first-child {
    margin: 0;
}

.header .top-menu > .top-menu-item,
.header .top-menu > .top-menu-item:first-child {
    margin: 0 20px 0 0;
}

.header .top-menu.align-right > .top-menu-item,
.header .top-menu.align-right > .top-menu-item:last-child {
    margin: 0 0 0 20px;
}

.header .top-menu .top-menu-item a {
    line-height: 45px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header .top-menu .top-menu-item a .desc .layui-icon,
.header .top-menu .top-menu-item a .desc .yunj-icon {
    margin-right: 5px;
}

.header .top-menu .top-menu-sub {
    display: none;
    background: #fff;
    border-radius: 2px;
    box-shadow: 0 2px 4px rgb(0 0 0 / 12%);
}

.header .top-menu > .top-menu-item > a .layui-icon-down {
    margin-top: -2px;
    margin-left: 5px;
}

.header .top-menu .top-menu-item .top-menu-sub .top-menu-item {
    min-width: 100px;
}

.header .top-menu .top-menu-sub .top-menu-item:hover {
    background-color: #f6f6f6;
}

.header .top-menu .top-menu-sub .top-menu-item a {
    line-height: 36px;
    padding: 0 20px;
}

.header .top-menu .top-menu-sub .top-menu-item a {
    color: #333;
    flex: 1;
}

.header .top-menu .top-menu-item:hover > .top-menu-sub {
    display: block;
    position: absolute;
}

.header .top-menu > .top-menu-item:hover > a {
    color: #009688;
}

.header .top-menu > .top-menu-item:hover > a .layui-icon-down {
    transform: rotatex(180deg);
}

.header .top-menu > .top-menu-item:hover > .top-menu-sub {
    top: 45px;
}

.header .top-menu.align-right > .top-menu-item:hover > .top-menu-sub {
    right: 0;
}

.header .top-menu > .top-menu-item .top-menu-item:hover > a {
    background: #009688;
    color: #fff;
    border-color: #04564e;
}

.header .top-menu > .top-menu-item .top-menu-item:hover > .top-menu-sub {
    left: 100%;
}

.header .top-menu.align-right > .top-menu-item .top-menu-item:hover > .top-menu-sub {
    right: 100%;
}

/* top-menu end */

/* global-search start */
.global-search {
    position: relative;
    height: 45px;
    display: flex;
    align-items: center;
}

.global-search .input-box {
    display: flex;
    border: 1px solid #fff;
    border-radius: 5px;
    padding: 5px 7px;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    background-color: rgba(255, 255, 255, .05);
}

.global-search .input-box input {
    background-color: rgba(255, 255, 255, 0);
    color: #fff;
    border: 0;
    margin-left: 5px;
    width: 80px;
}

.global-search .input-box input::placeholder {
    color: #fff;
}

.global-search .result {
    display: none;
    position: absolute;
    top: 45px;
    right: 0;
    z-index: 999;
    background: #fff;
    border-radius: 2px;
    box-shadow: 0 2px 4px rgb(0 0 0 / 12%);
    flex-wrap: wrap;
    text-align: center;
    justify-content: space-between;
    width: 400px;
    max-height: 500px;
    overflow-y: auto;
    padding: 10px;
}

.global-search .result > .item {
    flex: 1 20%;
    display: none;
}

.global-search .result > .item a {
    color: #333;
}

.global-search .result > .item a {
    line-height: 36px;
    padding: 0 20px;
}

.global-search .result > .item:hover > a {
    color: #009688;
}

.global-search .result-mask {
    display: none;
    position: fixed;
    top: 45px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 998;
    background: #333;
    opacity: 0.2;
}

/* global-search end */

/* file-download start */
.file-download {
    position: relative;
    height: 45px;
    display: flex;
    align-items: center;
}

.file-download .icon-box {
    width: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
}

.file-download .icon-box .yunj-icon {
    font-size: 14px;
}

.file-download .icon-box:hover {
    color: #009688;
}

.file-download .items-box {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 45px;
    right: 0;
    z-index: 999;
    background: #fff;
    border-radius: 2px;
    box-shadow: 0 2px 4px rgb(0 0 0 / 12%);
    flex-wrap: wrap;
    text-align: center;
    justify-content: space-between;
    width: 300px;
    max-height: 500px;
    overflow-y: auto;
    padding: 10px;
}

.file-download .items-box .item:not(:first-child) {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #eee;
}

.file-download .items-box .item .top {
    display: flex;
    justify-content: space-between;
}

.file-download .items-box .item .top .item-action i {
    cursor: pointer;
}

.file-download .items-box .item .top .item-action .remove:hover {
    color: #ff5722;
}

.file-download .items-box .item .bottom {
    margin-top: 5px;
}

.file-download .items-mask {
    display: none;
    position: fixed;
    top: 45px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 998;
    background: #333;
    opacity: 0.2;
}

/* file-download end */

.x-slide_left {
    width: 17px;
    height: 61px;
    position: absolute;
    top: 200px;
    left: 220px;
    cursor: pointer;
    z-index: 3;
}

/* left-nav */
.left-nav {
    position: absolute;
    top: 45px;
    bottom: 0;
    left: 0;
    z-index: 2;
    background-color: #eee;
    width: 220px;
    max-width: 220px;
    overflow: hidden;
    overflow-y: auto;
    border-right: 1px solid #eee;
}

/* 滚动条宽度为0 */
.left-nav::-webkit-scrollbar {
    width: 0;
}

.left-nav #side-nav {
    width: 220px;
}

.left-nav #nav .current {
    background-color: rgba(0, 0, 0, 0.3);
}

.left-nav #nav li a {
    font-size: 14px;
    padding: 10px 15px 10px 15px;
    display: block;
    cursor: pointer;
    border-left: 4px solid transparent;
    transition: all 0.3s;
    position: relative;
}

.left-nav a:hover {
    background: #009688;
    color: #fff;
    border-color: #04564e !important;
}

.left-nav a.active {
    background: #009688;
    color: #fff;
    border-color: #04564e !important;
}

.left-nav #nav li a cite {
    font-size: 14px;
}

.left-nav #nav li .sub-menu {
    display: none;
}

.left-nav #nav li .opened {
    display: block;
}

.left-nav #nav li .opened .current {

}

.left-nav #nav li .sub-menu li a {
    padding: 12px 15px 12px 30px;
    font-size: 14px;
    cursor: pointer;
}

.left-nav #nav li .sub-menu li .sub-menu li a {
    padding-left: 45px;
}

.left-nav #nav li .sub-menu li a i {
    font-size: 12px;
}

.left-nav #nav li a i {
    padding-right: 10px;
    line-height: 14px;
}

.left-nav #nav li .li-icon-right {
    float: right;
    font-size: 14px;
}

/* page-content */
.page-content {
    position: absolute;
    top: 45px;
    right: 0;
    bottom: 0;
    left: 220px;
    overflow: hidden;
    z-index: 1;
}

.page-content .tab {
    height: 100%;
    width: 100%;
    margin: 0;
}

.page-content .layui-tab-title {
    height: 35px;
    background: #EFEEF0;
    position: relative;
    z-index: 100;
}

.page-content .layui-tab-title li.home i {
    padding-right: 5px;
}

.page-content .layui-tab-title li.home .layui-tab-close {
    display: none;
}

.page-content .layui-tab-title li {
    line-height: 35px;
}

.page-content .layui-tab-title .layui-this:after {
    height: 36px;
}

.page-content .layui-tab-title li .layui-tab-close {
    border-radius: 50%;
}

.page-content .layui-tab-title .layui-this {
    background: #fff;
}

.page-content .layui-tab-bar {
    height: 34px;
    line-height: 35px;
}

.page-content .layui-tab-content {
    position: absolute;
    top: 36px;
    bottom: 0;
    width: 100%;
    padding: 0;
    overflow: hidden;
}

.page-content .layui-tab-content .layui-tab-item {
    width: 100%;
    height: 100%;
}

.page-content .layui-tab-content .layui-tab-item iframe {
    width: 100%;
    height: 100%;
}

.page-content > .layui-tab > ul > li:first-child:after {
    border-left: 0;
}

.page-content #tab_close_panel {
    display: none;
    width: 80px;
    position: absolute;
    top: 35px;
    left: 0;
}

.page-content #tab_close_panel dl {
    top: 0;
}

.page-content #tab_close_panel_content_mask,
.page-content #left_nav_open_page_content_mask {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0);
    padding: 0;
    overflow: hidden;
    display: none;
}

.page-content #tab_close_panel_content_mask {
    top: 36px;
}

@media screen and (max-width: 768px) {

    .left-nav {
        width: 60px;
    }

    .left-nav #nav li a i {
        font-size: 18px;
    }

    .left-nav cite, .left-nav .li-icon-right {
        display: none;
    }

    .page-content {
        left: 60px;
    }

    .page-content .layui-tab-content .layui-tab-item {
        -webkit-overflow-scrolling: touch;
        overflow-y: scroll;
    }

    .x-so input.layui-input {
        width: 100%;
        margin: 10px;
    }

    .global-search .result {
        width: 300px;
    }
}